<style>
    .form-inline {
        margin-bottom: 15px; /* 行间距 */
    }
    .form-inline label,
    .form-inline input {
        display: inline-block; /* 使 label 和 input 在同一行显示 */
        vertical-align: middle; /* 垂直对齐 */
    }
    .form-inline label {
        margin-right: 10px; /* 输入框前的间距 */
        white-space: nowrap; /* 防止换行 */
    }
    .form-inline input {
        width: auto; /* 可调节宽度 */
    }
</style>

<form id="edit-form" class="form-horizontal text-center" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <h5 id="auditModalLabel">退款</h5>
    </div>

    <div class="form-group" id="refundAmountDiv">
        <div class="form-inline">
            <label for="refundAmount">退款金额 <span class="text-danger">*</span></label>
            <input type="number"  data-rule="required" class="form-control" id="refundAmount" name="row[refundAmount]" placeholder="请输入退款金额" min="0" step="0.01"  value="{$row.paid_amount|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <div class="form-inline">
            <label for="refundReason">退款原因 <span class="text-danger">*</span></label>
            <input type="text" data-rule="required" class="form-control" id="refundReason" name="row[refundReason]" placeholder="请输入退款原因">
        </div>
    </div>

    <input type="hidden" id="refundId" name="row[refundId]" value="{$row.id | htmlentities}">

    <div>
        <button type="submit" id="submitBtn" class="btn btn-primary">提交</button>
    </div>
</form>
